package com.yunpeng.dishes.dao.mapper.entity;

import com.yunpeng.dishes.dao.mapper.IBaseMapper;
import com.yunpeng.dishes.dao.model.entity.NutrientsDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * INutrientsMapper
 *
 * @author : Moore(hemw)
 * @date : 2020-03-26
 */
@Mapper
public interface INutrientsMapper extends IBaseMapper<NutrientsDO> {

    /**
     * 根据营养元素代码获取营养元素列表
     *
     * @param codes
     * @return
     */
    List<NutrientsDO> queryForListByCodes(@Param(value = "codes") List<String> codes);
}
